/*
 * localStorage
 *
 * @Author:
 * @Date:
 * @Wechat:
 * @Email:
 * @Copyright
 */

export const localSave = (key, value) => {
  localStorage.setItem(key, value);
};

export const localRead = (key) => {
  return localStorage.getItem(key) || null;
};

export const localClear = () => {
  localStorage.clear();
};

export const localRemove = (key) => {
  localStorage.removeItem(key);
};
